<!doctype html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
         <title>买家中心 - {$CONF['mallTitle']}</title>
         <link rel="shortcut icon" href="favicon.ico"/>
         <meta name="keywords" content="{$CONF['mallKeywords']}" />
      	 <meta name="description" content="{$CONF['mallDesc']},买家中心" />
         <meta http-equiv="Expires" content="0">
		 <meta http-equiv="Pragma" content="no-cache">
		 <meta http-equiv="Cache-control" content="no-cache">
		 <meta http-equiv="Cache" content="no-cache">
		 <meta http-equiv="X-UA-Compatible" content="IE=edge">
      	<meta name="viewport" content="width=device-width, initial-scale=1">
         <link rel="stylesheet" href="__ROOT__/Apps/Home/View/{$WST_STYLE}/css/common.css" />
         <link rel="stylesheet" href="__ROOT__/Apps/Home/View/{$WST_STYLE}/css/user.css">
         <link rel="stylesheet" type="text/css" href="__PUBLIC__/plugins/webuploader/webuploader.css" />
    </head>
	{:WSTLoginTarget(0)}
    <body>
        <div class="wst-wrap">
          <div class='wst-header'>
          <include file="./Apps/Home/View/default/header_nav.html" />
          <div class='wst-user-top'>
			<div class="wst-user-top-main">
					<div class='wst-user-top-logo'>
						<a href="{:WSTDomain()}"  title='商城首页'>
						<img class='lazyImg' data-original="{:WSTDomain()}/{$CONF['mallLogo']}" style="max-width: 240px; height: 132px;"/>	
						</a>
					</div>
					<div class='wst-user-top-search'>
						<div class="search-box">
							<input id="wst-search-type" type="hidden" value="1"/>
							<input id="keyword" class="wst-search-ipt" me="q" tabindex="9" placeholder="搜索 商品" autocomplete="off" >
							<div id="btnsch" class="wst-search-btn">搜&nbsp;索</div>
						</div>
					</div>
					<div class="wst-clear"></div>
				</div>
			</div>
			<div class="wst-shop-nav">
				<div class="wst-nav-box">
					<li class="liselect" style="float:left;"><a href="{:U('Home/Orders/queryByPage')}">买家首页</a></li>
					<div class="wst-clear"></div>
				</div>
			</div>
          </div>
          <div class='wst-nav'></div>
          <div class='wst-main'>
            <div class='wst-menu'>
            	<div><span class='wst-menu-title' style='border-top:0px;'><span></span>交易信息</span></div>
            	<ul>
               		<li onclick="goBack(this)" data="{:U('Home/Orders/queryPayByPage/')}" <if condition='$umark eq "queryPayByPage"'> class='selected'</if>>待付款订单<span style="display:none;" class="wst-msg-tips-box"></span></li>
               		<li onclick="goBack(this)" data="{:U('Home/Orders/queryDeliveryByPage/')}" <if condition='$umark eq "queryDeliveryByPage"'> class='selected'</if>>待发货订单<span style="display:none;" class="wst-msg-tips-box"></span></li>
               		<li onclick="goBack(this)" data="{:U('Home/Orders/queryReceiveByPage/')}" <if condition='$umark eq "queryReceiveByPage"'> class='selected'</if>>待确认收货<span style="display:none;" class="wst-msg-tips-box"></span></li>
               		<li onclick="goBack(this)" data="{:U('Home/Orders/queryAppraiseByPage/')}" <if condition='$umark eq "queryAppraiseByPage"'> class='selected'</if>>待评价交易<span style="display:none;" class="wst-msg-tips-box"></span></li>
               		<li onclick="goBack(this)" data="{:U('Home/Orders/queryCompleteOrders/')}" <if condition='$umark eq "queryCompleteOrders"'> class='selected'</if>>已完成订单</a></li>
               		<li onclick="goBack(this)" data="{:U('Home/Orders/queryCancelOrders/')}" <if condition='$umark eq "queryCancelOrders"'> class='selected'</if>>已取消订单</a></li>
				</ul>
				<div><span class='wst-menu-title'><span></span>交易操作</span></div>
				<ul>
               		<li onclick="goBack(this)" data="{:U('Home/Orders/queryRefundByPage/')}" <if condition='$umark eq "queryRefundByPage"'> class='selected'</if>>拒收/退款</li>
	               	<li onclick="goBack(this)" data="{:U('Home/OrderComplains/queryUserComplainByPage/')}" <if condition='$umark eq "queryUserComplainByPage"'> class='selected'</if>>投诉订单</li>
	               	<li onclick="goBack(this)" data="{:U('Home/GoodsAppraises/getAppraisesList/')}" <if condition='$umark eq "getAppraisesList"'> class='selected'</if>>评价管理</li>
               	</ul>
               	
               	<if condition="$GLOBALS['CONFIG']['isDistribut'] eq 1">
               	<div><span class='wst-menu-title'><span></span>分销管理</span></div>
               	<ul>
               		<li onclick="goBack(this)" data="{:U('Home/Distributs/queryDistributUsers')}" <if condition='$umark eq "queryDistributUsers"'> class='selected'</if>>我的推广用户</li>
	               	<li onclick="goBack(this)" data="{:U('Home/Distributs/queryUserDistributMoneys')}" <if condition='$umark eq "queryUserDistributMoneys"'> class='selected'</if>>我的分成</li>
               	</ul>
               	</if>
               	
               	<div><span class='wst-menu-title'><span></span>我的</span></div>
               	<ul>
	               	<li onclick="goBack(this)" data="{:U('Home/UserAddress/queryByPage/')}" <if condition='$umark eq "addressQueryByPage"'> class='selected'</if>>收货地址</li>
	               	<li onclick="goBack(this)" data="{:U('Home/Users/toScoreList/')}" <if condition='$umark eq "toScoreList"'> class='selected'</if>>积分记录</li>
	               	<li onclick="goBack(this)" data="{:U('Home/LogMoneys/toUserMoneys/')}" <if condition='$umark eq "toUserMoneys"'>class="selected"</if>>资金管理</li>
					<li onclick="goBack(this)" data="{:U('Home/Favorites/queryByPage/')}" <if condition='$umark eq "queryFavoritesByPage"'> class='selected'</if>>我的关注</li>
	               	<li onclick="goBack(this)" data="{:U('Home/Messages/queryByPage/')}" id='li_queryMessageByPage' <if condition='$umark eq "queryMessageByPage"'> class='liselect'</if>>商城消息<span style="display:none;" class="wst-msg-tips-box"></span></li>
	               	<li onclick="goBack(this)" data="{:U('Home/Users/toEdit/')}" <if condition='$umark eq "toEditUser"'> class='selected'</if>>个人资料</li>
	               	<li onclick="goBack(this)" data="{:U('Home/Users/toEditPass/')}" <if condition='$umark eq "toEditPass"'> class='selected'</if>>修改密码</li>
               	</ul>
             <if condition='$WST_USER["userType"] eq 0'>
             <div class="wst-appsaler">
				<div>您目前不是卖家，您可以</div>
				<div><a href="{:U('Home/Shops/toOpenShopByUser/')}"><img class='lazyImg' data-original="__ROOT__/Apps/Home/View/{$WST_STYLE}/images/btn_setshop.png" height="38" width="134" /></a></div>
			 </div>
			 </if>
            </div>
            <div class='wst-content'>
            <block name="content"><div class="result">会员中心</div></block>
            </div>
          </div>
          <div style='clear:both;'></div>
          <br/>
           <div class='wst-footer'>
          	<include file="./Apps/Home/View/default/footer.html" />
          </div>
        </div>
    </body>
    <script src="__PUBLIC__/plugins/formValidator/formValidator-4.1.3.js"></script>
   	<script src="__PUBLIC__/js/common.js"></script>
   	<script src="__ROOT__/Apps/Home/View/{$WST_STYLE}/js/usercom.js"></script>
   	<script src="__ROOT__/Apps/Home/View/{$WST_STYLE}/js/head.js"></script>
   	<script src="__PUBLIC__/plugins/layer/layer.min.js"></script>
   	<script type="text/javascript" src="__PUBLIC__/plugins/webuploader/webuploader.js"></script>
  	<script src="__ROOT__/Apps/Home/View/{$WST_STYLE}/js/common.js"></script>
    <script type="text/javascript">
		var shopId = '{$orderInfo["order"]["shopId"]}';
		checkLogin();
		$(function() {
			getUserMsgTips();
			setInterval("getUserMsgTips()",30000);
		});
	</script>
</html>

